﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Lottery.MediaData.Core {
    /// <summary>
    /// 预测数据项
    /// </summary>
    public class YuCeDataItem {
        public YuCeDataItem() {
            data = new List<string>();
            for (int i = 0; i < 14; i++) {
                data.Add(string.Empty);
            }
        }

        private List<string> data;

        /// <summary>
        /// 序号
        /// </summary>
        public string Order { get; set; }

        public string this[int index] {
            get {
                return data[index];
            }
            set {
                data[index] = value;
            }
        }

        public override string ToString() {
            var sb = new StringBuilder();
            sb.Append(Order).Append(" ");
            for (int i = 0; i < 14; i++) {
                sb.Append(data[i]).Append(" ");
            }

            return sb.ToString();
        }
    }
}
